package com.xframework.security.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.xframework.annotation.MappingColumn;
import com.xframework.annotation.MappingTable;
import com.xframework.model.BaseModel;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 资源表.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@MappingTable(tableName = "SECURITY_RESOURCE_TYPE")
public class ResourceType extends BaseModel {
    @MappingColumn(columnName = "RESOURCE_TYPE_ID", columnPk = true)
    private Integer resourceTypeId;

    @MappingColumn(columnName = "resource_type_name")
    private String resourceTypeName;

    public Integer getResourceTypeId() {
        return resourceTypeId;
    }

    public void setResourceTypeId(Integer resourceTypeId) {
        this.resourceTypeId = resourceTypeId;
    }

    public String getResourceTypeName() {
        return resourceTypeName;
    }

    public void setResourceTypeName(String resourceTypeName) {
        this.resourceTypeName = resourceTypeName;
    }
}
